import { AppBaseEntity } from 'src/shared/database/baseEntity';
import { Column, Entity } from 'typeorm';

@Entity({
  name: 'product_specs',
  comment: '商品规格表',
})
export class ProductSpec extends AppBaseEntity {
  @Column({
    comment: '商品id',
    name: 'product_id',
  })
  productId: number;

  @Column({
    comment: '规格名称',
    name: 'name',
  })
  name: string;
}
